//
//  NSString+JSON.h
//  SanMuHui
//
//  Created by user on 2017/10/13.
//  Copyright © 2017年 Dnake. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (JSON)


/**
 字典转为json

 @param infoDict 字典
 @return json
 */
+ (NSString*)convertToJSONData:(id)infoDict;


/**
 json转化为字典

 @param jsonString json
 @return 字典对象
 */
+ (NSDictionary *)dictionaryWithJsonString:(NSString *)jsonString;

@end
